import request from '@/utils/request'

// 二级工会统计
export function membershipClass(query) {
  return request({
    url: '/business/statistic/membershipClass',
    method: 'get',
    params: query
  })
}
// 二级工会统计
export function secondaryUnion(query) {
  return request({
    url: '/business/statistic/secondaryUnion',
    method: 'get',
    params: query
  })
}


export function getYearList(query) {
  return request({
    url: '/business/common/getYearList',
    method: 'get',
    params: query
  })
}
export function getNowYear(query) {
  return request({
    url: '/business/common/getNowYear',
    method: 'get',
    params: query
  })
}

